# 安装模块
#rmmod 1_chardev_read_write.ko;insmod 1_chardev_read_write.ko
rmmod 2_chardev_type_int.ko;insmod 2_chardev_type_int.ko

# 写字符设备
echo -n 'a' > /dev/chardev

# 读字符设备
head -c 1 /dev/chardev
